home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Development / 3DMF parser / 1.0 version / MF3DPC / MFTEXTWR.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-07  |  1.5 KB  |  49 lines  |  [TEXT/dosa]

  1. #ifndef    MF3D_TEXTWRITE_H
  2. #define    MF3D_TEXTWRITE_H
  3. /*==============================================================================
  4.  *
  5.  *    File:        MFTEXTWR.H
  6.  *
  7.  *    Function:    Interface file for MFTEXTWR.C.
  8.  *
  9.  *    Version:    Metafile:    Version 1.0 3DMF files
  10.  *                Package:    Release #2 of this code
  11.  *
  12.  *    Author(s):    Rick Wong (RWW), Duet Development Corp.
  13.  *                John Kelly (JRK), Duet Development Corp.
  14.  *
  15.  *    Copyright:    (c) 1995 by Apple Computer, Inc., all rights reserved.
  16.  *
  17.  *    Change History (most recent first):
  18.  *        FB7_JRK    Pragma macros
  19.  *        Fabio    Changed file name to 8 characters
  20.  *        F2K_RWW    File created.
  21.  *==============================================================================
  22.  */
  23. #if defined(applec) || defined(__MWERKS__) || defined(THINK_C)
  24. #pragma once
  25. #endif
  26.  
  27. #include "MFTYPES.H"
  28. #include "MFINTOBJ.H"
  29.  
  30. #define    kMF3D_RawDataBytesPerLine    16
  31.  
  32. #define    kMaxOutputTextBuffer        1024    /* Should be large enough */
  33. /*==============================================================================
  34.  *    MF3D_WriteProc
  35.  *==============================================================================
  36.  */
  37. #define    MF3D_WriteProc(x,y,z)                                                \
  38.                     (*x->procsRec.writeProc) (x->userFilePtr,y,(char *)z)
  39.  
  40. /* write new line */
  41. MF3DErr    MF3D_WriteNewLine(MF3D_FilePtr inMetafile);
  42.  
  43. MF3DErr    MF3D_OutputText(MF3D_FilePtr inMetafile, const char *inFormatStr, ...);
  44.  
  45. MF3DErr    MF3D_WriteTextString(MF3D_FilePtr inMetafilePtr,
  46.                 MF3DCStringPtr inStringPtr);
  47.  
  48. #endif
  49.